package com.ku.kill.service;

import com.ku.kill.error.BusinessException;
import com.ku.kill.service.model.OrderModel;

/**
 * @program: kill2
 * @description:
 * @author: JokerKu
 * @create: 2020-04-03 12:02
 **/
public interface OrderService {
    //通过前端url上传过来秒杀活动id，然后下单接口内校验对应id是否属于对应商品且活动已开始
    OrderModel createOrder(Integer userId,Integer promoId,Integer itemId,Integer amount,String stockLogId) throws BusinessException;
}
